package com.jic.market.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.market.entity.LotteryWinningLimit;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 抽奖活动用户限制记录表
 * @author : 
 * @email : 
 * @since : 2020-04-10 08:13:44
 * @version : v1.0.0
 */
@Repository
@Mapper
public interface  LotteryWinningLimitMapper {

    long insert(LotteryWinningLimit lotteryWinningLimit);

    long delete(Long id);

    long update(LotteryWinningLimit lotteryWinningLimit);

    LotteryWinningLimit queryByPrimaryKey(Long id);

    List<LotteryWinningLimit> query(LotteryWinningLimit lotteryWinningLimit);

    List<LotteryWinningLimit> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("lotteryWinningLimit") LotteryWinningLimit lotteryWinningLimit);

    long queryPageCount(LotteryWinningLimit lotteryWinningLimit);
}